<?php
/**
 * The Users model class for abstracting operations to the Users Entity
 *
 */

class Users extends Zend_Db_Table
{
    protected $_name = 'users';
    protected $_primary = 'uid';
    protected $_dependentTables = array('Items', 'Reports');
	
	public function getUserById($uid)
	{
		return $this->fetchRow($this->select()->where('uid = ?', $uid));
	}
}
